package com.yunxi.model.sat;

import com.baomidou.mybatisplus.annotation.*;
import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 试乘试驾表
 * </p>
 *
 * @author caoYong
 * @since 2019-07-31
 */
@Data
@TableName("pms_sat_test_drive")
@ApiModel(value="SatTestDrive对象", description="试乘试驾表")
public class SatTestDrive implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "DRIVE_ID", type = IdType.UUID)
    private String driveId;

    @ApiModelProperty(value = "客户ID")
    @TableField("CUSTOMER_NO")
    private String customerNo;

    @ApiModelProperty(value = "销售顾问编号")
    @TableField("SALES_CONSULTANT_NO")
    private String salesConsultantNo;

    @ApiModelProperty(value = "试驾状态(Test_DriveStatus,1待试驾,2开始试驾,3试驾完成,4取消试驾)")
    @TableField("TEST_DRIVE_STATUS")
    private Integer testDriveStatus;

    @ApiModelProperty(value = "试驾方式(Test_DriveStyle,1上门试驾,2到店试驾)")
    @TableField("DRIVE_STYLE")
    private Integer driveStyle;

    @ApiModelProperty(value = "试驾人身份类型(Test_DriveType,1本人试驾,2他人试驾)")
    @TableField("DRIVE_TYPE")
    private String driveType;

    @ApiModelProperty(value = "渠道编号")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "客户姓名")
    @TableField("CUSTOMER_NAME")
    private String customerName;

    @ApiModelProperty(value = "线路信息")
    @TableField("TEST_DRIVE_ROUTE_ID")
    private String testDriveRouteId;

    @ApiModelProperty(value = "试驾人证件类型(Customer_IdDocumentType,1身份证,5驾驶证)")
    @TableField("CERT_TYPE")
    private String certType;

    @ApiModelProperty(value = "申请类型(Test_Drive_ApplyType,1APP申请,2展厅申请)")
    @TableField("APPLY_TYPE")
    private Integer applyType;

    @ApiModelProperty(value = "身份证正面")
    @TableField("CERT_PIC_FRONT")
    private String certPicFront;

    @ApiModelProperty(value = "身份证反面")
    @TableField("CERT_PIC_BACK")
    private String certPicBack;

    @ApiModelProperty(value = "计划试驾时间(存到分钟)")
    @TableField("PLAN_DRIVE_TIME")
    private Date planDriveTime;

    @ApiModelProperty(value = "完成试驾时间")
    @TableField("COMPLETE_DRIVE_TIME")
    private Date completeDriveTime;

    @ApiModelProperty(value = "车系")
    @TableField("AUDI")
    private String audi;

    @ApiModelProperty(value = "试驾员描述")
    @TableField("DRIVE_INFO")
    private String driveInfo;

    @ApiModelProperty(value = "试驾备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "是否领取1领取0未领取")
    @TableField("IS_GET")
    private Integer isGet;

    @ApiModelProperty(value = "领取人")
    @TableField("GET_USER")
    private String getUser;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_TIME",fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_TIME",fill = FieldFill.UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "试驾专家")
    @TableField("TEST_DRIVE_EXPERT")
    private String testDriveExpert;

    @ApiModelProperty(value = "试驾协议照片地址")
    @TableField("AGREEMENT_PIC_PATH")
    private String agreementPicPath;

    @ApiModelProperty(value = "试驾图片2")
    @TableField("SECEND_PIC_PATH")
    private String secendPicPath;

    @ApiModelProperty(value = "试驾图片3")
    @TableField("THIRD_PIC_PATH")
    private String thirdPicPath;

    @ApiModelProperty(value = "试驾图片4")
    @TableField("FOURTH_PIC_PATH")
    private String fourthPicPath;

    @ApiModelProperty(value = "试驾图片5")
    @TableField("FIFTH_PIC_PATH")
    private String fifthPicPath;

    @ApiModelProperty(value = "取消原因")
    @TableField("CANCEL_REASON")
    private String cancelReason;

    @ApiModelProperty(value = "开始试驾时间")
    @TableField("BEGIN_DRIVE_TIME")
    private Date beginDriveTime;

    @ApiModelProperty(value = "是否提醒(1是,0否)")
    @TableField("IS_REMIND")
    private Integer isRemind;

    @ApiModelProperty(value = "联系人姓名1")
    @TableField("CONTACTER_NAME_ONE")
    private String contacterNameOne;

    @ApiModelProperty(value = "联系人电话1")
    @TableField("CONTACTER_PHONE_ONE")
    private String contacterPhoneOne;

    @ApiModelProperty(value = "联系人姓名2")
    @TableField("CONTACTER_NAME_TWO")
    private String contacterNameTwo;

    @ApiModelProperty(value = "联系人电话2")
    @TableField("CONTACTER_PHONE_TWO")
    private String contacterPhoneTwo;

    @ApiModelProperty(value = "详细地址")
    @TableField("ADDRESS")
    private String address;

    @ApiModelProperty(value = "省份代码")
    @TableField("PROVINCE_CODE")
    private String provinceCode;

    @ApiModelProperty(value = "市代码")
    @TableField("CITY_CODE")
    private String cityCode;

    @ApiModelProperty(value = "区县代码")
    @TableField("COUNTRY_CODE")
    private String countryCode;

    @ApiModelProperty(value = "所在城市名称")
    @TableField("CITY_NAME")
    private String cityName;

    @ApiModelProperty(value = "身份证号")
    @TableField("CERT_NO")
    private String certNo;

}
